package com.zyh.scs.admin.api.dto.open;

import jakarta.validation.constraints.NotBlank;
import lombok.Data;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 物理卡/福利账户一键充值同步 DTO
 */
@Data
public class CardIdOneClickRechargeDTO implements Serializable {

    /**
     * 充值类型(1福利卡 4积分)
     */
    private String rechargeType = "1";

    /**
     * 充值金额
     */
    @NotNull(message = "充值金额不能为空")
    @Min(value = 0)
    private Double rechargeAmount;
    
    /**
     * 充值流水号 
     */
    @NotBlank(message = "充值流水号不能为空")
    private String rechargeSerial;

}